package com.example.demo.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Lucy
 * @create 2024-03-14 21:28
 */
@Data
@Table(name = "ad_transaction")
public class AdTransaction {
    @TableId(value = "transaction_id", type = IdType.AUTO)
    private int transactionId;
    private int advertiserId;
    private double amount;
    private String transactionTime;
    private int transactionType;
    private String outTradeNo;
    private String tradeNo;
}
